package com.peans.web;

import java.util.List;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

import com.peans.component.MapParamResolver;

@Configuration
public class WebMvcConfigurerAdapterConfig extends WebMvcConfigurerAdapter{
	
	private static final Log logger = LogFactory.getLog(WebMvcConfigurerAdapterConfig.class);
	
	@Override
    public void addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) {
        super.addArgumentResolvers(argumentResolvers);
        MapParamResolver a = new MapParamResolver();
        argumentResolvers.add(a);
    }

}
